﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NCT.MRS.DataAccessLayer.Entities;

namespace NCT.MRS.DataAccessLayer.Repositories
{
    public class AccessSectionRepository : AbstractRepository<AccessSection>
    {
        public AccessSectionRepository(IAppContext context)
            :base(context)
        {

        }

        public override AccessSection GetById(int Id)
        {
            return EntityObject.Where(P => P.Id.Equals(Id)).FirstOrDefault();
        }
    }
}
